package com.miao.im.server.session;

import lombok.Data;

/**
 * @Auther: miaoguoxin
 * @Date: 2019/8/3 23:10
 * @Description: 客户端ip和端口
 */
@Data
public class RemoteNode {
    private String ip;
    private int port;

    public RemoteNode(String ip, int port) {
        this.ip = ip;
        this.port = port;
    }

    @Override
    public String toString() {
        return  this.ip + ":" + this.port;
    }
}
